package com.hxc.basicdata.domain;

import java.math.BigDecimal;
import com.hxc.common.annotation.Excel;
import com.hxc.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.lang.NonNull;

/**
 * 村情信息对象 t_villager_conditions
 * 
 * @author hxc
 * @date 2021-08-20
 */
@ApiModel(value = "村情信息")
public class TVillagerConditions extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    /** 乡村名称 */
    @Excel(name = "乡村名称")
    @ApiModelProperty(value = "乡村名称")
    private String countryName;
    /** 总户数 */
    @Excel(name = "总户数")
    @ApiModelProperty(value = "总户数")
    private Integer houseNum;
    /** 总人口 */
    @Excel(name = "总人口")
    @ApiModelProperty(value = "总人口")
    private Integer populaceNum;
    /** 党员数量 */
    @Excel(name = "党员数量")
    @ApiModelProperty(value = "党员数量")
    private Integer partyMember;
    /** 人均收入 */
    @Excel(name = "人均收入")
    @ApiModelProperty(value = "人均收入")
    private BigDecimal perIncome;
    /** 集体收入 */
    @Excel(name = "集体收入")
    @ApiModelProperty(value = "集体收入")
    private BigDecimal collectiveIncome;
    /** 美丽家庭 */
    @Excel(name = "美丽家庭")
    @ApiModelProperty(value = "美丽家庭")
    private Integer beautifulHousehold;

    public void setId(Long id) 
    {
        this.id = id;
    }
    public Long getId() 
    {
        return id;
    }

    public void setCountryName(String countryName) 
    {
        this.countryName = countryName;
    }
    public String getCountryName() 
    {
        return countryName;
    }

    public void setHouseNum(Integer houseNum) 
    {
        this.houseNum = houseNum;
    }
    public Integer getHouseNum() 
    {
        return houseNum;
    }

    public void setPopulaceNum(Integer populaceNum) 
    {
        this.populaceNum = populaceNum;
    }
    public Integer getPopulaceNum() 
    {
        return populaceNum;
    }

    public void setPartyMember(Integer partyMember) 
    {
        this.partyMember = partyMember;
    }
    public Integer getPartyMember() 
    {
        return partyMember;
    }

    public void setPerIncome(BigDecimal perIncome) 
    {
        this.perIncome = perIncome;
    }
    public BigDecimal getPerIncome() 
    {
        return perIncome;
    }

    public void setCollectiveIncome(BigDecimal collectiveIncome) 
    {
        this.collectiveIncome = collectiveIncome;
    }
    public BigDecimal getCollectiveIncome() 
    {
        return collectiveIncome;
    }

    public void setBeautifulHousehold(Integer beautifulHousehold) 
    {
        this.beautifulHousehold = beautifulHousehold;
    }
    public Integer getBeautifulHousehold() 
    {
        return beautifulHousehold;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("countryName", getCountryName())
            .append("houseNum", getHouseNum())
            .append("populaceNum", getPopulaceNum())
            .append("partyMember", getPartyMember())
            .append("perIncome", getPerIncome())
            .append("collectiveIncome", getCollectiveIncome())
            .append("beautifulHousehold", getBeautifulHousehold())
            .append("createTime", getCreateTime())
            .toString();
    }
}
